/**
 * 
 */
package com.newture.lxz.errors;

/**
 * @author huxiao
 *
 */
public enum Errors {
	/**
	 * 生成代码固定需要的错误类别
	 */
	NO_RECORD_FOUND_BY_ID,
	NO_RECORD_FOUND,
	MORE_THAN_ONE_RECORDS_FOUND,
	SAVE_ERR,
	UPDATE_ERR,
	DELETE_ERR,
	SELECT_ERR,
	INTERNAL_ERROR,
	UNKNOWN_ERROR,
	UPLOAD_PATH_UNSPECIFIED,
	DOWNLOAD_PATH_UNSPECIFIED,
	UNSUPPORTED_ENCODING, // command+shift+u
	JSON_PROCESSING_EXCEPTION,
	GET_DETAIL_ERR,
	GET_RESOURCE_FAILED,
	GET_PUBLIC_KEY_FAILED,
	LOGOUT_FAILED,
	SIGN_IN_FAILED,
	REGISTER_FAILED,
	VERIFY_CODE_ILLEGAL,
	UNAUTHORIZED_401,
	SUCCESS,
	FAIL,
	UNSUPPORTED_OPERATION,
	TIME_OUT,
	NO_PERMISSION,
	ILLEGAL_PARAMETER,
	ILLEGAL_FILE_NAME,
	UPLOAD_FAIL,
	PATH_UPLOAD_BASE_NOT_FOUND,
	/**
	 * 业务相关
	 */
	DELETE_DOMAIN_FAIL_BECAUSE_EXIST_ROLE_BOUND,
	BUSINESS_IS_NOT_AFFECTED,
	JSCODE_TO_SESSION_FAILED,
	WX_OPEN_ID_IS_BLANK,
	WX_SESSION_KEY_IS_BLANK,
	USER_DOES_NOT_EXIST,
	USER_IS_FROZEN,
	THE_FILE_NAME_IS_NOT_ENDS_WITH_TMP,
	SOME_CHECK_ITEMS_ARE_ABNORMAL,
	SOME_CHECK_ITEMS_ARE_NOT_CHECKED,
	QUANTITY_IS_NULL,
	PO_ALREADY_EXISTS_AND_STATUS_IS_NOT_IN_PRODUCTION,
	CELL_DATA_IS_NULL,
	THE_TARGET_SHEET_DOES_NOT_EXIST,
	DATE_FORMAT_IS_ILLEGAL,
	NO_SHIPPING_DATE_FOUND,
	NO_PART_NUMBER_DISTINGUISH,
	NO_FORMULA_UPDATED,
	NO_FORMULA_FOUND,
	READING_FILE_ERROR,
	CONTAINER_NAME_ALREADY_EXIST,
	PO_STATUS_QUANTITY_MORE_THAN_INVOICE_QUANTITY,
	PO_STATUS_QUANTITY_LESS_THAN_INVOICE_QUANTITY
}
